<% head_options(@category) %>

<div id="conteiner">
    <div id="left">
        <div id="leftCont">
            <% @posts.each do |p| %>
		          <div class="indexNewsBlock">
		          	<div class="date"><%= p.created_at.strftime("%d.%m.%Y")%></div>
		              <div class="title"><%= link_to p.title, post_path(p) %></div>
		              <%= text_teaser(p.content, 200) %>
		          </div>
            <% end %>
            
            <%= will_paginate(@posts) %>
        </div>
    </div>
</div>

<div id="right">
		<%= render :partial=>"includes/currency" %>
		
    <%= render :partial=>"includes/banners" %>
</div>
